import {
  get,
  post,
  put
} from '../utils/request.js'

export const regist = params => post('/regist', params)

export const login = params => post('/login', params)

export const getCustomer = params => get('/customer/user', params)

export const getAddressList = params => get('/customer/useraddress', params)

export const updateAddress = params => put('/customer/useraddress', params)

export const getChinaList = params => get('/china', params)
